package cn.test.rabbitmq.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import java.io.IOException;

/**
 * @author hanchao
 * @date 2017/7/3 17:44
 */
public class MessageProducer2 {
    public static void main(String[] args) throws InterruptedException, IOException {
        ApplicationContext context = new FileSystemXmlApplicationContext("classpath:rabbitmq2.xml");
        System.in.read();
    }
}
